package com.sunda.spmsoversea.enums;

/**
 * @author waynewu
 */
public enum OverseaPackageListEnum {

    /** code = "99" 的为无效 code，此种常量仅取 desc 常量即可 */

    /** SPMS 海外仓收货单据状态 SPMS单据状态(默认0待到货；1收货中；2收货完成(提交SAP成功)；3提交SAP失败；) */
    OVERSEA_PL_WAITING("0", "待到货", "Waiting."),
    OVERSEA_PL_RECEIVING("1", "收货中", "Receiving."),
    OVERSEA_PL_RECEIVED("2", "收货完成(提交SAP成功)", "Received."),
    OVERSEA_PL_SUBMIT_SAP_ERROR("3", "提交SAP失败", "Submit SAP Failed."),
    OVERSEA_PL_SUBMIT_SAP("99", "提交SAP成功", "Submit SAP Success."),
    OVERSEA_PL_CANCEL("98", "已撤销", "Cancel."),
    OVERSEA_PL_CANCEL_ERROR("97", "撤销错误", "Cancel Error.");

    private String code;
    private String descZh;
    private String descEn;

    OverseaPackageListEnum(String code, String descZh, String descEn) {
        this.code = code;
        this.descZh = descZh;
        this.descEn = descEn;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescZh() {
        return descZh;
    }

    public void setDescZh(String descZh) {
        this.descZh = descZh;
    }

    public String getDescEn() {
        return descEn;
    }

    public void setDescEn(String descEn) {
        this.descEn = descEn;
    }
}
